#!/usr/bin/env python3
import re

pt = re.compile('\w+://(?:\w+\.)+\w+')
site_arr = []

f = open('wangzhan.txt')
for i in f:
    sites = pt.findall(i)
    if sites:
        site_arr.extend(sites)

print(site_arr)
f.close()
